package com.example.a2209_mianshi.widget

import com.example.a2209_mianshi.dp

/**
 *@author Wcj
 *@description App信息配置
 *@date 2022/6/17 16:24
 */
object AppConfig {
    //MMKV路径
    const val MMKV_ROOT_DIR_PATH: String = ""

    //设计宽高
    const val DESIGN_WIDTH_IN_DP = 375
    const val DESIGN_HEIGHT_IN_DP = 812

//    //虚拟体验车辆位置
//    val MOTO_DEFAULT_POSITION = LatLng(29.434053, 106.550553)

    //下载链接
    const val APP_DOWNLOAD_LINK = "${BuildConfig.H5_HOST}mobile/appDownload"

    const val UMENG_KEY = BuildConfig.UMENG_KDY

    const val WEBO_KEY = BuildConfig.WEBO_APPID
    const val WEBO_SECRET = BuildConfig.WEBO_SECRT

    const val WX_KEY = BuildConfig.WECHAT_APPID
    const val WX_SECRET = BuildConfig.WECHAT_SECRT

    const val QQ_APP_ID = BuildConfig.QQ_APPID
    const val QQ_KEY = BuildConfig.QQ_KEY


    //文件上传限制单位MB
    var IMAGE_SIZE_LIMIT = 10.0
    var VIDEO_SIZE_LIMIT = 50.0

    //加盟链接
    const val COMMERCIAL_JOIN_URL = "http://m.cyclonemoto.com/#/joinIn"

    //门店查询
    const val STORE_SEARCH_URL = "http://m.cyclonemoto.com/#/maps"

    //官网链接
    const val OFFICIAL_WEB_URL = "http://m.cyclonemoto.com/#/home"

    val VEHICLE_IMAGE_WIDTH = 250.dp
    val IMAGE_FACTOR = 0.76

    //二手车token加密key
    var publicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6mhUubSN9Q/0rkat2X3m7mG+OAGvT5Za/OuFj18LWq/deHdXhOe88BArl6TJht6HolZoMBz9H2m+dKoe5XYHRJOp3McmDcMb0q3q2L3L3HmmbFxFquaEkZGBCrWZ8JrRmwt3ngXHCxRGsdLUTIqjSgOlAyErMTDrdH0eqMVa94QIDAQAB"


    //团油渠道码
    const val TY_CHANNEL_CODE = 100005598
    //团油key
    const val TY_KEY = "appm_api_h5100005598"
    //团油secret
    const val TY_SECRET = "77a72589dc1a8d09d6513046dc979549"


    //住宿酒店
    const val H5_HOTEL = "https://m.ctrip.com/webapp/hotel?ouid=kfptpctool&allianceid=4256792&sid=47642113&city=4"

    //美食服务
    const val H5_FOOD = "https://m.ctrip.com/webapp/gourmet/food/homeList/158.html?seo=0&isHideNavBar=YES&ishideheader=true&ouid=kfptpctool&allianceid=4256792&sid=47642113"
}